Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diff should be empty if the zero value is in the state #984

Merged
merged 3 commits into from
Feb 17, 2015

Conversation

mitchellh
Copy link
Contributor

Fixes: #952

If the zero value of a configuration is in the state and its not in the configuration, then it should not result in a diff since nothing is changing. See the test case for an example.

@phinze
Copy link
Contributor

phinze commented Feb 17, 2015

LGTM 👍

mitchellh added a commit that referenced this pull request Feb 17, 2015
helper/schema: Diff should be empty if the zero value is in the state
@mitchellh mitchellh merged commit 1a39903 into master Feb 17, 2015
@mitchellh mitchellh deleted the b-zero-diffs branch February 17, 2015 19:50
@ghost
Copy link

ghost commented May 4, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators May 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terraform breaks when values removed from config for at least Set and Bool (but not String)
2 participants